package hn.sigit.model.hnd.administrative;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.Table;

@Entity
@org.hibernate.annotations.Proxy(lazy=false)
@Table(name="HND_OperationPermit", schema="hnd_administrative")
@Inheritance(strategy=InheritanceType.JOINED)
public class HND_OperationPermit extends HND_Permit implements Serializable {
	private static final long serialVersionUID = 6169384546161378943L;
	
	private HND_OperationPermitType type;

	
	@Column(name="Type", nullable=true)
	@Enumerated(EnumType.STRING)
	public HND_OperationPermitType getType() {
		return type;
	}
	public void setType(HND_OperationPermitType type) {
		this.type = type;
	}
}
